package com.demo.iterator21;

/**
 * 接下来我们需要定义迭代器接口：Iterator.java
 */
public interface Iterator {
    boolean hasNext();
    Object next();
}